package org.demo.service.impls;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSONObject;
import org.demo.dao.IUserDao;
import org.demo.service.interfaces.UserService;

@Service
public class UserServiceImpl implements UserService{
	
	@Autowired
	private IUserDao iUserDao;
	
	public JSONObject getUserByid(int id){
 
		return iUserDao.selectById(id);
	}
	
}